<?php


namespace app\index\validate;


class loginValidate extends basicValidate
{
    protected $rule = [
        'name' => 'alphaNum|require|max:6',
    ];
    protected $message = [
        'mtype.alphaNum' => '类型不能为特殊字符',
        'mtype.require' => '类型必须不是空',
        'mtype.max' => '类型不能超过6位',
    ];


}